{% extends "base.html" %}
{% import "bootstrap/wtf.html" as wtf %}
{% import "_macros.html" as macros %}
{% import "order/partial/order_table.html" as order_table_macro %}
{% import "order/partial/search_order_form.html" as search_order_form_macro %}


{% block title %}万屏时代报价工具--订单列表{% endblock %}

{% block panel_heading %}
  万屏时代报价工具--订单列表
{% endblock %}

{% block panel_body %}
    {{ search_order_form_macro.gen_form(search_form) }}
    {% if pagination %}
    <div class="pagination">
        {{ macros.pagination_widget(pagination, 'product_bp.order_list', **url_kwargs) }}
    </div>
    {% endif %}

    {{ order_table_macro.gen_table(orders, current_user, url_kwargs) }}

    {% if pagination %}
    <div class="pagination">
        {{ macros.pagination_widget(pagination, 'product_bp.order_list', **url_kwargs) }}
    </div>
    {% endif %}
{% endblock %}

